From: Jeroen van der Heijden Date: Fri, 25 May 2018 08:11:35 +0000 (+0200) Subject: Upd help functions X-Git-Tag: archive/raspbian/2.0.44-1+rpi1~1^2~3^2~9^2~23 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=32d69636a747b5ac458becf105f0a35c6017b342;p=siridb-server.git Upd help functions --- diff --git a/help/help_functions.md b/help/help_functions.md index a14f2b73..52a7a2ba 100644 --- a/help/help_functions.md +++ b/help/help_functions.md @@ -214,7 +214,7 @@ Syntax: filter( ) -Returns an integer or float value depending on the series data type. +Returns an integer, float or string value depending on the series data type. Filter is used to filter the result by values. @@ -225,6 +225,9 @@ Example: # Select all positive values from 'series-001' select filter(> 0) from 'series-001' + + # Select all values containing 'error' and not 'unavailable + select filter(~'error') => filter(!~'unavailable') from 'some-log-series' first